package com.awakening.dao;

import com.awakening.pojo.User;

import java.sql.SQLException;

/**
 * 用户Dao接口类
 * @Author:AwakeningCode
 * @Date: Created in 17:54 2018\1\22 0022
 */
public interface UserDao {

    void regist(User user)throws SQLException;

    User findByCode(String code)throws SQLException;

    void update(User user)throws SQLException;
}
